<?php 
use yii\helpers\Html;
 use yii\helpers\Url;
 ?>
 
<!DOCTYPE html>
<html>
<head>
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <title></title>
</head>
<body >
   <!-- Page Layout here -->

   <div class="container_l" style="padding:3%;padding-top: 20px;background: #eeeeee">
    <!-- 第一层卡片 -->
        <h4>仪盘表</h4>
        <div class="row">
     <div class="col s12 m12">
       <div class="card " id="card1">
         <div class="card-content ">
           <span class="card-title">欢迎使用</span>
             <p>我们准备了几个链接供您开始：</p>
         </div>
         <div class="card-action">
           <a href="<?= Url::to(['admin/edit-art']) ?>">撰写您的第一篇博文</a>
           <a href='<?= Url::to(['admin/album']) ?>'>查看图片库</a>
           <a href='<?= Url::to(['admin/user']) ?>'>用户管理</a>
           <a href='<?= Url::to(['admin/setting']) ?>'>设置</a>
          
         </div>
      
       </div>
     </div>
   </div>
<!-- 第二层卡片 -->
    <div class="row">

      <div class="col s6">
  	<ul class="collapsible" data-collapsible="accordion">
	     <li>
	       <div class="collapsible-header active"><i class="mdi-image-filter-drama"></i>概览</div>
	       <div class="collapsible-body">
	       	  <div class="row" style="padding-top: 10px">

		      <div class="col s6 valign-wrapper">                     
                                  <div>
                                                 <i class="material-icons">assignment</i>&nbsp;&nbsp;<?php  echo Html::tag('a', $art_num.'篇技术文章',['href'=>Url::to(['admin/article']) ]); ?>
                                  </div>                                
                     </div>
                     <div class="col s6 valign-wrapper">                     
                                
                                  <div>
                                                 <i class="material-icons">assignment</i>&nbsp;&nbsp;<?php  echo Html::tag('a', $live_num.'篇live文章',['href'=>Url::to(['admin/live'])]); ?>
                                  </div>
                     </div>

		      <div class="col s6 valign-wrapper">
                                    <div><i class="material-icons">chat_bubble_outline</i>&nbsp;&nbsp;<?php  echo Html::tag('a', $artComm_num.'个技术评论',['href'=>Url::to(['admin/comment'])]); ?>
                                    </div>
                    </div>
                     <div class="col s6 valign-wrapper">
                                    <div><i class="material-icons">chat_bubble_outline</i>&nbsp;&nbsp;<?php  echo Html::tag('a', $liveComm_num.'个生活评论',['href'=>Url::to(['admin/comment-live'])]); ?>
                                    </div>
                    </div>                         
	       </div>
	     </li>
	    
	   </ul>
      </div>
      <div class="col s6">
          	 <ul class="collapsible" data-collapsible="accordion">
	     <li>
	       <div class="collapsible-header active"><i class="mdi-image-filter-drama"></i>活动</div>
	       <div class="collapsible-body">
	       	<div style="padding: 6px">最近发布</div>
	       	<div style="padding: 6px">2017/10  renoan 发布了 <a href="">this is test</a></div>
	     </li>
	    
	   </ul>
      </div>
    </div>


   </div>
    
<script type="text/javascript">
  
          document.getElementById("card1").style.display ="<?php echo $option1 ?>";
          

</script>

</body>

</html>